package com.lyl.domaindemo.Infrastructure.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * @author lyl
 * @date 2023/5/20
 */
@NoArgsConstructor
@AllArgsConstructor
@Getter
public enum ErrorStatusEnum {

    /**
     * 请求失败
     */
    REQUEST_FAILED("400", "request failed", "请求失败"),

    /**
     * 没有权限
     */
    PERMISSION_ERROR("403","you do not have permission","您没有权限");
    private String code;

    private String messageEn;

    private String messageCn;


}
